import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "林社长的站",
  description: "记录-灵感-思考",
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      { text: 'Home', link: '/' },
      { text: '计划大纲', link: '/menu' }
    ],
    outline:[2,3],
    sidebar: [
      {
        text: '文章列表',
        items: [
          { text: '计划大纲', link: '/menu' },
          {
            text:'JS',
            collapsed:true,
            items:[
              {text:'数据类型',link:'/pages/js/1'},
              {text:'文件系统',link:'/pages/js/2'}
            ]
          }
          // { text: 'Runtime API Examples', link: '/api-examples' }
        ]
      }
    ],

    socialLinks: [
      { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
    ]
  },
  vite:{
    // root:'/l_page/',
    // base:'./'
  }
})
